package com.aiyige.base.eventbus;

/**
 * Created by zhuyakun on 2017/11/24.
 */

public class EventMMLearnVideoFilter {
    Integer filter = null;

    private EventMMLearnVideoFilter(Builder builder) {
        setFilter(builder.filter);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public Integer getFilter() {
        return filter;
    }

    public void setFilter(Integer filter) {
        this.filter = filter;
    }

    public static final class Builder {
        private Integer filter;

        private Builder() {
        }

        public Builder filter(Integer filter) {
            this.filter = filter;
            return this;
        }

        public EventMMLearnVideoFilter build() {
            return new EventMMLearnVideoFilter(this);
        }
    }
}
